package com.xxxx.aop.around;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

//@RestController
public class AroundController {


    @RequestMapping("aroundTest")
    public String aroundTest(HttpServletResponse response , HttpServletRequest request,String paramA, String paramB) {
        System.out.println(paramA+"---"+paramB);
        return "aas";
    }

    @RequestMapping("aroundTestTwo")
    public String aroundTestTwo(String paramA, String paramB) {
        System.out.println(paramA+"---"+paramB);
        return "aroundTestTwo";
    }

}
